package com.tem.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2023-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("test_user")
@ApiModel(value="TestUser对象", description="")
public class TestUser implements Serializable {

    private static final long serialVersionUID=7634536576431L;

    @ApiModelProperty(value = "测试用户")
    @TableId(value = "test_user_id", type = IdType.AUTO)
    private Long testUserId;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "年龄")
    @TableField("age")
    private Integer age;

    @ApiModelProperty(value = "价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "纬度")
    @TableField("jwd")
    private Double jwd;

    @ApiModelProperty(value = "时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "加时区国际")
    @TableField("add_time")
    private LocalDateTime addTime;

    @ApiModelProperty(value = "版本")
    @TableField("version")
    @Version
    private Integer version;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
